<!-- body -->
    <div class="container nav-margin-top">
        <ol class="breadcrumb">
            <li><a href="/nsbbs/">首页</a></li>
            <li class="active">版面目录</li>
        </ol>
        <div class="row">
        <?php foreach($data_arr as $item){ ?>
            <div class="col-sm-6">
                <div class="ns-module">
                    <a href="list.php?zid=<?php echo $item['id']?>" class="link"></a>
                    <div class="module-info">
                        <div class="module-name">
                            <span class="font-logo"><?php echo $item['logo']?></span>
                            <span><?php echo htmlspecialchars($item['name'])?></span>
                        </div>
                        <div class="zone-manager">
                            <span class="module-hot-title">区务：</span>
                            <div class="managers">
                    <?php 
                        if($item['manager']){
                            foreach($item['manager'] as $man_item){
                    ?>
                                <a <?php echo $target?> href="userinfo.php?uid=<?php echo $man_item['id']?>">
                                <?php echo htmlspecialchars($man_item['user'])?>
                                </a>
                    <?php }
                    }else{ ?>
                                <span class="icolor">暂无版务</span>
                    <?php } ?>
                            </div>
                        </div>
                    </div>
                    <div class="module-hot-list">
                        <span class="module-hot-title">热门版面：</span>
                        <div class="module-hot">
                    <?php 
                        if($item['module']){
                            foreach($item['module'] as $mod_item){
                    ?>
                                <a href="module.php?mid=<?php echo $mod_item['id']?>">
                                <?php echo htmlspecialchars($mod_item['name'])?>
                                </a>
                    <?php }
                    }else{ ?>
                                <span class="icolor">暂无版面</span>
                    <?php } ?>
                        </div>
                    </div>
                </div>
            </div>
        <?php } ?>
        </div>
    </div>

<script src="public/js/jquery.min.js"></script>
<script src="public/js/my-bootstrap.min.js"></script>
<script async src="public/js/zone.all.js"></script>

